package com.im.common.enums.exception;

import lombok.Getter;

@Getter
public enum MessageErrorCode implements BaseExceptionEnum {

    FROMER_IS_MUTE(50002,"发送方被禁言"),

    FROMER_IS_FORBIBBEN(50003,"发送方被禁用"),

    MESSAGEBODY_IS_NOT_EXIST(50003,"消息体不存在"),

    MESSAGE_RECALL_TIME_OUT(50004,"消息已超过可撤回时间"),

    MESSAGE_IS_RECALLED(50005,"消息已被撤回"),

    ;

    private int code;
    private String msg;

    MessageErrorCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
